package com.chixing.day03_oop;

public class Phone {
    private Integer phoneId;
    private Integer phonePrice;

    public Phone(Integer phoneId, Integer phonePrice) {
        this.phoneId = phoneId;
        this.phonePrice = phonePrice;
    }

    public Phone() {
    }

    public Integer getPhoneId() {
        return phoneId;
    }

    public void setPhoneId(Integer phoneId) {
        this.phoneId = phoneId;
    }

    public Integer getPhonePrice() {
        return phonePrice;
    }

    public void setPhonePrice(Integer phonePrice) {
        this.phonePrice = phonePrice;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "phoneId=" + phoneId +
                ", phonePrice=" + phonePrice +
                '}';
    }
}
